<div class="row">
	<div class="col-md-12">
		<div class="panel panel-info">
			<div class="panel-body">
				<div class="row">
					<div class="col-md-12 clearfix">
						<h4 class="pull-left" style="margin: 0 0 20px;">数字报表 </h4>
					</div>

					<div class="col-md-12">
						<div class="row">
							<div class="col-md-3 col-xs-12 col-sm-6">
								<a class="info-tiles tiles-toyo" href="#">
									<div class="tiles-heading">品牌个数</div>
									<div class="tiles-body-alt">
										<i class="fa fa-sitemap"></i>
										<div class="text-center" id="brandcount">0</div>
									</div>
									<div class="tiles-footer"></div>
								</a>
							</div>
							<div class="col-md-3 col-xs-12 col-sm-6">
								<a class="info-tiles tiles-danger" href="#">
									<div class="tiles-heading">门店个数</div>
									<div class="tiles-body-alt">
										<i class="fa fa-home"></i>
										<div class="text-center" id="shopcount">0</div>
									</div>
									<div class="tiles-footer"></div>
								</a>
							</div>
							<div class="col-md-3 col-xs-12 col-sm-6">
								<a class="info-tiles tiles-success" href="#">
									<div class="tiles-heading">成功刷卡总计次</div>
									<div class="tiles-body-alt">
										<i class="fa fa-tag"></i>
										<div class="text-center" id="crashsuccesscount">0</div>
									</div>
									<div class="tiles-footer"></div>
								</a>
							</div>
							<div class="col-md-3 col-xs-12 col-sm-6">
								<a class="info-tiles tiles-grape" href="#">
									<div class="tiles-heading">失败刷卡总计次</div>
									<div class="tiles-body-alt">
										<i class="fa  fa-tags"></i>
										<div class="text-center" id="crasherrorcount">0</div>
									</div>
									<div class="tiles-footer"></div>
								</a>
							</div>
							<div class="col-md-3 col-xs-12 col-sm-6">
								<a class="info-tiles tiles-primary" href="#">
									<div class="tiles-heading">会员卡总计</div>
									<div class="tiles-body-alt">
										<i class="fa  fa-group"></i>
										<div class="text-center" id="membercount">0</div>
									</div>
									<div class="tiles-footer"></div>
								</a>
							</div>
							<div class="col-md-3 col-xs-12 col-sm-6">
								<a class="info-tiles tiles-sky" href="#">
									<div class="tiles-heading">员工卡总计</div>
									<div class="tiles-body-alt">
										<i class="fa  fa-group"></i>
										<div class="text-center" id="staffcount">0</div>
									</div>
									<div class="tiles-footer"></div>
								</a>
							</div>
							
							<div class="col-md-3 col-xs-12 col-sm-6">
								<a class="info-tiles tiles-toyo" href="#">
									<div class="tiles-heading">临时卡总计</div>
									<div class="tiles-body-alt">
										<i class="fa  fa-group"></i>
										<div class="text-center" id="tempcount">0</div>
									</div>
									<div class="tiles-footer"></div>
								</a>
							</div>
							
							
							<div class="col-md-3 col-xs-12 col-sm-6">
								<a class="info-tiles tiles-brown" href="#">
									<div class="tiles-heading">登录次数总计</div>
									<div class="tiles-body-alt">
										<i class="fa  fa-upload"></i>
										<div class="text-center" id="logincount">0</div>
									</div>
									<div class="tiles-footer"></div>
								</a>
							</div>
							
						</div>
					</div>
				</div>
				
			 <div class="row">
              <div class="col-md-12">
                    <div class="panel panel-sky">
                        <div class="panel-heading">
                            <h4>门店统计详情</h4>
                            <div class="options">   
                                <a href="javascript:;" class="panel-collapse"><i class="fa fa-chevron-down"></i></a>
                            </div>
                        </div>
                        <div class="panel-body collapse in">
                            <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered datatables" id="example">
                                <thead>
                                    <tr>
                                            <th class="col-sm-1">门店id</th>
                                            <th class="col-sm-2">门店名称</th>
                                            <th class="col-sm-1">会员卡数</th>
                                            <th class="col-sm-1">员工卡数</th>
                                            <th class="col-sm-1">会员进场总计</th>
                                            <th class="col-sm-1">员工进场总计</th>
                                            <th class="col-sm-1">临时进场总计</th>
                                            <th class="col-sm-1">系统登录总计</th>
                                        </tr>
                                </thead>
                                <tbody>
                                       {foreach name="list" item="v"}
                                    	  <tr>
                                            <td class="col-sm-1">{$v.shop_id}</td>
                                            <td class="col-sm-2">{$v.shop_name}</td>
                                            <td class="col-sm-1">{$v.membercount}</td>
                                            <td class="col-sm-1">{$v.staffcount}</td>
                                            <td class="col-sm-1">{$v.m_in_count}</td>
                                            <td class="col-sm-1">{$v.s_in_count}</td>
                                            <td class="col-sm-1">{$v.t_in_count}</td>
                                            <td class="col-sm-1">{$v.logincount}</td>
                                          </tr>
                                    	{/foreach}
                                      
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="row">
              <div class="col-md-12">
                    <div class="panel panel-sky">
                        <div class="panel-heading">
                            <h4>门店当日统计详情</h4>
                            <div class="options">   
                                  <a href="javascript:;" class="panel-collapse"><i class="fa fa-chevron-down"></i></a>
                            </div>
                        </div>
                        <div class="panel-body collapse in">
                            <table cellpadding="0" cellspacing="0" border="0" class="table table-striped table-bordered datatables" id="example1">
                                <thead>
                                    <tr>
                                            <th class="col-sm-1">门店id</th>
                                            <th class="col-sm-2">门店名称</th>
                                            <th class="col-sm-2">卡总计</th>
                                            <th class="col-sm-1">当日会员进场总计</th>
                                            <th class="col-sm-1">当日员工进场总计</th>
                                            <th class="col-sm-1">当日临时进场总计</th>
                                            <th class="col-sm-1">当日系统登录总计</th>
                                        </tr>
                                </thead>
                                <tbody>
                                       {foreach name="today_list" item="v"}
                                    	  <tr>
                                            <td class="col-sm-1">{$v.shop_id}</td>
                                            <td class="col-sm-2">{$v.shop_name}</td>
                                            <th class="col-sm-2">{$v.total_count}</th>
                                            <td class="col-sm-1">{$v.today_m_in_count}</td>
                                            <td class="col-sm-1">{$v.today_s_in_count}</td>
                                            <td class="col-sm-1">{$v.today_t_in_count}</td>
                                            <td class="col-sm-1">{$v.today_logincount}</td>
                                          </tr>
                                    	{/foreach}
                                      
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
            
		</div>
	</div>

</div>
<script type='text/javascript' src='{$Think.ADMIN_VIEW_JS}report_form/index.js'></script>
